package org.ecinc.example;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.ecinc.mvc.action.Action;
import org.ecinc.mvc.form.ActionForm;

public class LoginAction implements Action{

	@Override
	public String execute(HttpServletRequest request,HttpServletResponse response, ActionForm form,
			Map<String, String> forward) {
		request.setAttribute("login", form);
		return forward.get("success");
	}

}
